<?php
namespace app\index\validate;

use think\Validate;

class Modeluser extends Validate
{
    protected $rule = [
        'phone'  =>  'require|length:11',
        'password' =>  'require',
    ];
}